package com.itheima.javabean;

public class StudentOperater {
    private Student s;

    public StudentOperater(){}
    public  StudentOperater (Student s){
        this.s  = s;
    }
    public void printAge(){
        System.out.println("我的年龄是："+s.getAge());
    }
    public void printName(){
        System.out.println("我的姓名是："+s.getName());
    }
}
